﻿<!DOCTYPE html>
<html lang="en">
<#include "../common/common-head.html"/>
<body class="gray-bg top-navigation">
<div id="wrapper">
    <div id="page-wrapper" class="gray-bg">
    <#include "../common/common-menu.html">
        <div class="wrapper wrapper-content">
            <div class="row white-bg" style="padding: 18px 0">
                <div class="col-xs-12">
                    <form class="form-horizontal m-t" action="${basePath}/orders/update" method="post">
                        <input type="hidden" name="id" value="${orders.id}">
                        <div class="col-xs-6">
                        <@formEdit labels=["产品名称","客服"] names=["name","kefu"] model=orders></@formEdit>
                        <@formEditDate label="登记日期" name="enrolldate" model=orders></@formEditDate>
                        <@formEditDate label="出发日期" name="godate" model=orders></@formEditDate>
                        <@formEditNum label="天数" name="day" model=orders></@formEditNum>
                        <@formEditNum label="价格" name="price" model=orders></@formEditNum>
                        <@formEditSel label="保险" name="safe" valueMap={"未买":"未买","已买":"已买"} model=orders></@formEditSel>
                            <div class="form-group">
                                <div class="col-xs-8 col-xs-offset-3">
                                    <button class="btn btn-primary" type="submit">提交</button>
                                </div>
                            </div>

                        </div>
                        <div class="col-xs-6">
                            <div class="input-group">
                                <span class="input-group-addon">出行备注</span>
                                <textarea name="remark" class="form-control">${orders.remark!}</textarea>
                            </div>
                            <br/>
                        <@formEditNo labels=["用户名(非会员)","身份证号(非会员)","联系方式(非会员)"] names=["name2","card2","phone2"] model=orders></@formEditNo>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $('.date-picker').datetimepicker({autoclose: true, language: 'zh-CN', minView: 2});
</script>
</body>
</html>

